/*
 * @Author: yushuaixm
 */
const { http } = uni.$zz

/**
 * @description: 获取院校的名称
 */
export const schoolNameList = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.get('wx/index/getSchoolName', params, config)



/**
 * @description: 获取院校的名称
 */
export const getTopSubject = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.get('wx/index/getTopSubject', params, config)

/**
 * @description: 获取院校的名称
 */
export const getSubjectForParam = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/index/getSubjectForParam', params, config)



/**
 * @description: 获取院校的名称
 */
export const getPage = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/pageBangshou', params, config)


export const manSelBsSchool = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/manSelBsSchool', params, config)


export const manOnlyBsSel = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/manOnlyBsSel', params, config)


export const getNowDateList = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/getNowDateList', params, config)


export const getNextSubjectList = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/getNextSubjectList', params, config)

export default {schoolNameList, getTopSubject, getSubjectForParam, getPage, manSelBsSchool, manOnlyBsSel, getNowDateList, getNextSubjectList};